package com.ws.test05.entity;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * @author 王硕
 * @version jdk21
 * @className Employee
 * @description
 * @date 2024/11/21 21:39
 */
@Data
@Accessors(chain = true)
public class Employee {
    private String name;
    private int birthMonth;
    private double salary;
    @Override
    public String toString() {
        return name + "-" + birthMonth + "-" + salary;
    }
}
